package com.qingfeng.client.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qingfeng.client.DO.GoodsSimpInfo;
import com.qingfeng.client.VO.GoodsConditionVo;
import com.qingfeng.client.bean.GoodsCommon;
import com.qingfeng.client.util.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
public interface GoodsCommonMapper extends BaseMapper<GoodsCommon> {

    List<GoodsCommon> getStoreIndexGoods(@Param("storeId")Long storeId);

    IPage<GoodsSimpInfo> getPage(Page page, @Param("vo")GoodsConditionVo condition );

}
